package com.guyu.app.common.constant;

import com.guyu.plugin.redisson.key.ILockKey;
import lombok.AllArgsConstructor;
import lombok.Getter;

import java.util.concurrent.TimeUnit;

@Getter
@AllArgsConstructor
public enum LockKey implements ILockKey {
    SMS_CAPTCHA_LOCK("sms_captcha:", "短信验证码", 1L, TimeUnit.MINUTES, 0L),
    ;

    private String key;
    private String desc;
    private Long expire;
    private TimeUnit unit;
    private Long waitTime;


}
